package com.xianyun.site.iblog.dto.blog;

import com.xianyun.common.core.domain.IQuery;
import lombok.*;
import javax.validation.constraints.NotEmpty;

/**
 * 根据url查询文章
 * @author mac_zyj
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Data
public class ArticleViewByUrlQry extends IQuery {
    private static final long serialVersionUID = 1L;
    /** 文章唯一Id */
    @NotEmpty(message = "文章唯一Id不能为空")
    private String uniqueId;
    /** 用户唯一地址 */
    @NotEmpty(message = "用户唯一地址不能为空")
    private String userUniquePath;
    /**Token*/
    private String token;
}
